package com.service;

import java.util.List;

import com.model.Astuff;
import com.model.Tempfile;

public interface TempfileManager {
	public List<Tempfile> getTempfileListByUser(Astuff astuff, int offset,
			int length);

	public Tempfile getTempfileById(int fileid);
	
	public Long getTempfileCountByUser(Astuff astuff);
	
	public List<Tempfile> getUnReadTempfileListByUser(Astuff astuff, int offset,
			int length);
	
	public Long getUnReadTempfileCountByUser(Astuff astuff);
	
	public void setTempfileReaded(Astuff astuff, int fileid);
}
